package com.pacy.pacybaseproject.beans;

import com.pacy.pacybaseproject.base.BaseBean;

import java.util.List;

/**
 * @author PACY
 * @date 2024/1/8
 * description:
 */
public class BusStationBean extends BaseBean {

    private String name;
    private String lenth;
    private List<StationDTO> station;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLenth() {
        return lenth;
    }

    public void setLenth(String lenth) {
        this.lenth = lenth;
    }

    public List<StationDTO> getStation() {
        return station;
    }

    public void setStation(List<StationDTO> station) {
        this.station = station;
    }

    public static class StationDTO {
        private String busName;
        private String time;
        private String stationNum;
        private String endStation;


        public StationDTO(String busName, String time, String stationNum, String endStation) {
            this.busName = busName;
            this.time = time;
            this.stationNum = stationNum;
            this.endStation = endStation;
        }

        public String getBusName() {
            return busName;
        }

        public void setBusName(String busName) {
            this.busName = busName;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getStationNum() {
            return stationNum;
        }

        public void setStationNum(String stationNum) {
            this.stationNum = stationNum;
        }

        public String getEndStation() {
            return endStation;
        }

        public void setEndStation(String endStation) {
            this.endStation = endStation;
        }
    }
}
